<div class="ui table-wrap">
    <table class="ui celled table">
        <thead>
            <tr><th class="collapsing">产品类型</th>
            <th class="collapsing">状态</th>
            <th class="collapsing">出发地</th>
            <th class="collapsing">目的地</th>
            <th class="collapsing">车型</th>
            <th class="collapsing">售价</th>
            <th class="collapsing">操作</th>
        </tr></thead>
        <tbody>
            <% data.forEach(function(row){ %>
            <tr>
                <td data-name="serviceType" data-value="<%=row.serviceType%>"><%=row.serviceType%></td>
                <td data-name="status" data-value="<%=row.status%>"><%if(row.status == 0){%>未上线<%}else{%>已上线<%}%></td>
                <td data-name="depPlace" data-value="<%=row.depPlace%>"><%=row.depPlace%></td>
                <td data-name="arrPlace" data-value="<%=row.arrPlace%>"><%=row.arrPlace%></td>
                <td data-name="carModelNum" data-value="<%=row.carModelNum%>"><%=row.carModelNum%></td>
                <td data-name="salePrice" data-value="<%=row.salePrice%>"><%=row.salePrice%></td>
                <td>
                    <a class="status" href="javascript:void(0);" data-status="<%=row.status%>" data-id="<%=row.id%>" data-key="productId" data-url="/product/info/offOnLine"><%if(row.status == 0){%>发布<%}else{%>撤下<%}%></a>&nbsp;&nbsp;
                    <a class="edit" href="javascript:void(0);" data-id="<%=row.id%>" data-key="productId" data-url="/product/info/updateProduct">编辑</a>&nbsp;&nbsp;
                    <a class="delete" href="javascript:void(0);" data-id="<%=row.id%>" data-key="productId" data-url="/product/info/deleteProduct">删除</a>
                </td>
            </tr>
            <% }); %>
        </tbody>
    </table>
</div>
<% data.forEach(function(row){ %>
<div class="modelWrap-<%=row.id%>"></div>
<% }); %>
